;**************************************************************************************************; 
;File:			cs100.0.1.asm
;Author:		Jack morris 
;Date started: 	12.15.14 
;Date compleated: 
;Brief: will multiply two 8b registers together and store the 16b result in two registers
;**************;***************;***************;***************;****************************************; 
;LABELS:
;								.DIRECTIVES		operands
;								instructions	operands
																			 				;comments
								.NOLIST												;dont want the inc in the list
								.INCLUDE			"m328pdef.inc"	;Invlude the 328 aliases
								.LIST													;Everything else is in the list
				
;Defining 
								.DEF					first, R19				;first register claimed 
								.DEF					second, R18			;second register claimed
								.DEF					1ans, R0				;the first half of the answer
								.DEF					2ans, R1				;the second half of the answer
								.DEF					calchi, R20
								.DEF					calclo, R21

								LDI						first, 52				;stores 52 in first
								LDI						second, 34			;stores 34 in second
								
								mul						first, second		;mutipys first and second

								MOV						1ans, calclo		;store results 
								MOV						2ans, calchi		; stors into
								Sleep													;end